﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cinema.GUI
{
    public partial class MovieAdministration : Form
    {
        public MovieAdministration()
        {
            InitializeComponent();
            Show();
            
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }

        private void movieBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.movieBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.c_dbDataSet);

        }

        private void MovieAdministration_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'c_dbDataSet.Movie' table. You can move, or remove it, as needed.
            this.movieTableAdapter.Fill(this.c_dbDataSet.Movie);
        }

        
    }
}
